<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<title>The Mr.Green has a color but not always green</title>
    <script type="text/javascript" src="jquery.js"></script>
    <style type="text/css">
    	*,html{
    		padding: 0;
    		margin: 0;
    	}
    	body{
    		height: 100%;
    		width: 100%; 
    		background-color: #e4e4ea;
    		overflow: hidden;
    	}
    	#outbox{
    		width: 200px;
    		height: 400px;
    		border: solid 1px gray;
    		position: absolute;
    		left: 0;
    		top: 60px;
    	} 

    	/**
    	 * 元素块儿
    	 */
    	#current,.red,.green,.blue,.black{
    		text-align: center;
    		line-height: 80px;
    		font-size: 15px;
    		font-weight: bold;
    		width: 80px;
    		height: 80px;
    		position: absolute;
    		box-sizing: border-box;
    		border-radius: 4px;
    		/*opacity: .3;*/
    		text-transform: capitalize;
    	}
    	#current{
    		z-index: 99;
    		opacity: .6;
    		border: solid 1px gold;
    		background-color: white;
    	}
    	.red{
    		background-color: red;
    		border: solid 1px white;
    		color: black;
    	}
    	.green{
    		background-color: green;
    		border: solid 1px white;
    		color: blue;
    	}
    	.blue{
    		background-color: blue;
    		border: solid 1px white;
    		color: green;
    	}
    	.black{
    		background-color: black;
    		border: solid 1px white;
    		color: red;
    	}
    	#result{
    		position: absolute;
    		top: 0;
    		left: 0;
    		width: 100%;
    		height: 50px;
    		line-height: 50px;
    		text-align: left;
    		color: white;
    		background-color: lightgray;
    	}
    	#answers{ 
    		left: 0;
    		position: absolute;
    		background-color: coral;
    	}
    	#answers button{
    		border-radius: 4px;
    		cursor: pointer;
    	}
    	#red{
    		border-radius: 4px;
    		cursor: pointer;
    		z-index: 999;
    	}
    </style>
</head>
<body>
	<div id="result">
		Result ! The Mr.Green has a color but not always green
	</div>
	<!-- doms will be init by js -->
    <script type="text/javascript" src="main.js"></script>
</body>

</html>